package cn.faster.sys.mapper;

import cn.faster.sys.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author xiaoCoder
 * @since 2021-06-06
 */

@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

	/**
	 * 动态查询所有的用户信息；
	 * @param sysUser
	 * @return
	 */
    List<SysUser> selectListByUser(SysUser sysUser);

}
